package com.view.cn.mvprxjava.fragment;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.view.cn.mvprxjava.R;
import com.view.cn.mvprxjava.view.WatchBoard;

/**
 * 时钟
 * Created by Administrator on 2016/12/12 0013.
 */
public class WatchBoardFragment extends BaseFragment {

	public static final String TAG = WatchBoardFragment.class.getSimpleName();
	private RelativeLayout mActivityMain;
	private TextView mTv;
	private WatchBoard mLockView;

	public static WatchBoardFragment newInstance() {
		WatchBoardFragment fragment = new WatchBoardFragment();
		return fragment;
	}

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
	}

	@Nullable
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
		View view = inflater.inflate(R.layout.fragment_watchboard, container, false);

		initView(view);
		return view;
	}

	private void initView(View view) {
		mLockView = (WatchBoard) view.findViewById(R.id.lockView);
	}
}
